from rest_framework import serializers
from .models import User,Order,Estimate

class UserModelSerializer(serializers.ModelSerializer):

    class Meta:
        model = User
        fields = '__all__'

class OrderModelSerializer(serializers.ModelSerializer):

    class Meta:
        model = Order
        fields = '__all__'

class EstimateModelSerializer(serializers.ModelSerializer):

    class Meta:
        model = Estimate
        fields = '__all__'
